package com.imti.mall.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.oms.pojo.OmsOrder;
import com.imti.mall.order.mapper.DeliveryOrderMapper;
import com.imti.mall.order.service.DeliveryOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeliveryOrderServiceImpl extends ServiceImpl<DeliveryOrderMapper, OmsOrder> implements DeliveryOrderService {
    @Resource
    private DeliveryOrderMapper deliveryOrderMapper;
    @Override
    public Integer deliveryOrder(OmsOrder order) {
        return deliveryOrderMapper.deliveryOrder(order);
    }

    @Override
    public Integer updateReceiverInfo(OmsOrder omsOrder) {
        return deliveryOrderMapper.updateReceiverInfo(omsOrder);
    }

    @Override
    public Integer updateMoney(OmsOrder omsOrder) {
        return deliveryOrderMapper.updateMoney(omsOrder);
    }

    @Override
    public Integer updateOrderNote(OmsOrder omsOrder) {
        return null;
    }
}
